import Layout from '@/layout'

const orderRouter = {
  path: '/order',
  component: Layout,
  meta: {
    title: '订单',
    icon: 'documentation',
    affix: false
  },
  children: [
    {
      path: '/order/administer',
      component: () => import('@/views/order/administer'),
      name: 'administer',
      meta: {
        title: '订单管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/order/overview',
      component: () => import('@/views/order/overview'),
      name: 'overview',
      meta: {
        title: '订单概述',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/order/comment',
      component: () => import('@/views/order/comment'),
      name: 'comment',
      meta: {
        title: '评价管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/order/distribution',
      component: () => import('@/views/order/distribution'),
      name: 'distribution',
      meta: {
        title: '订单配送',
        icon: 'documentation',
        affix: false
      }
    },
  ]
}
export default orderRouter
